// 测试go 语言类型别名

package main

import "fmt"

type A struct {
	info1 string
	info2 int64
}

type B A

type C = A

func main() {
	a := new(A)
	a.info1 = "11111"
	a.info2 = 22222222

	b := &B{a.info1, a.info2}

	c := &B{a.info1, a.info2}

	fmt.Println("b", b.info1, b.info2)
	fmt.Println("c", c.info1, c.info2)
}
